package com.burger.counter.beans;
import java.util.ArrayList;
public class ShoppingCart {
	ArrayList<Item> al;
	Item i;
	
	public ShoppingCart(){
		al = new ArrayList<Item>();
	}

	public void addItemInCart(Item item){
		al.add(item);
	}
	public ArrayList<Item> getItemInCart(){
		return al;
	}
	public void updateCart(ArrayList<Item> list)
	{
		al=list;
	}
}
